@import "reset";
@import "plugin";
@import "animate";

.header{
    line-height: 60px;
}

.amap-marker{
    &-content{
        white-space: normal !important;
    }
}

.marker{
    background-color: white;
    @include border-radius(4px);
    padding: 6px;
    line-height: 1.3;
    color: $text-main;
    @include box-shadow(2px 2px 5px rgba(121, 85, 72, 0.39));
    .title{
        white-space: nowrap;
        font-weight: bold;
        font-size: 0.8rem;
    }
    .note{
        white-space: nowrap;
        font-size: 0.7rem;
        color: $text-subtitle;
    }
}

.marker-plate{
    background-color: white;
    @include border-radius(4px);
    padding: 6px;
    line-height: 1.3;
    color: $text-main;
    @include box-shadow(2px 2px 5px rgba(121, 85, 72, 0.39));
    .title{
        font-family: "Times";
        text-align: center;
        white-space: nowrap;
        font-weight: bold;
        font-size: 1.2rem;
    }
    .note{
        white-space: nowrap;
        font-size: 0.8rem;
        color: $text-subtitle;
    }
}

body{
    position: relative;
}

.home{
    @include box-shadow(2px 2px 5px rgba(121, 85, 72, 0.39));
    padding: 5px 8px;
    @include border-radius(5px);
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 0.8rem;
    background-color: white;
    cursor: pointer;
}

#panel{
    position: absolute;
    top: 60px;
    right: 60px;
    bottom: 60px;
}

.card{
    padding: 6px 8px;
    overflow: hidden;
    background-color: white;
    @include border-radius(8px);
    @include box-shadow(1px 1px 3px rgba(0,0,0,0.2));
}

.menu{
    overflow: hidden;
    background-color: white;
    top: 30px;
    width: 150px;
    @include border-radius(8px);
}
.menu-item{
    @extend .unselectable;
    cursor: pointer;
    border-bottom: 1px solid $color-border;
    padding: 5px 10px 5px 30px;
    &:last-child{
        border: none;
    }
    &:hover{
        background-color: rgba(0,0,0,0.05);
    }
    &:active{
        transform: translateY(2px);
    }
}

@import "overwrite-el-ui";
@import "overwrite-amap";
